import Vue from 'vue'
import Vuex from 'vuex'
import user from './user'
import play from './play'
import news from './news'
import slide from './slide'
import list from './list'
import love from './love'

Vue.use(Vuex)

export default new Vuex.Store({
  strict: process.env.NODE_ENV !== 'production', // 在非生产环境下，使用严格模式
  modules: {
    user,
    play,
    news,
    slide,
    list,
    love
  }
})
